package com.wiscamp.ninechapters.problems.domain.models.exams;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 计分规则
 */
@Data
public class ScoringRule implements Serializable {
    @Serial
    private static final long serialVersionUID = 7646332585548199547L;

    /**
     * 编号
     */
    private long id = 0;

    /**
     * 考试编号
     */
    private long examId = 0;

    /**
     * 问题类型编号
     */
    private long questionTypeId = 0;

    /**
     * 正确得分
     */
    private double correctScore;

    /**
     * 错误得分
     */
    private double incorrectScore;

    /**
     * 忽略得分
     */
    private double skipScore;

    /**
     * 题型编号
     */
    private long problemTypeId = 0;

    private String examName = "";

    private String problemTypeName = "";

    private String questionTypeName = "";
}